using System;
using System.Collections.Generic;
using System.Text;

namespace PACKETPARSERMAX20.CORE
{

    public enum TypeMask : int
    {
        TYPEMASK_OBJECT = 0x0001,
        TYPEMASK_ITEM = 0x0002,
        TYPEMASK_CONTAINER = 0x0006,                       // TYPEMASK_ITEM | 0x0004
        TYPEMASK_UNIT = 0x0008,
        TYPEMASK_PLAYER = 0x0010,
        TYPEMASK_GAMEOBJECT = 0x0020,
        TYPEMASK_DYNAMICOBJECT = 0x0040,
        TYPEMASK_CORPSE = 0x0080,
        TYPEMASK_AIGROUP = 0x0100,
        TYPEMASK_AREATRIGGER = 0x0200
    };

    public enum TypeID : int
    {
        TYPEID_OBJECT = 0,
        TYPEID_ITEM = 1,
        TYPEID_CONTAINER = 2,
        TYPEID_UNIT = 3,
        TYPEID_PLAYER = 4,
        TYPEID_GAMEOBJECT = 5,
        TYPEID_DYNAMICOBJECT = 6,
        TYPEID_CORPSE = 7,
        TYPEID_AIGROUP = 8,
        TYPEID_AREATRIGGER = 9
    };

    public enum TempSummonType : int
    {
        TEMPSUMMON_TIMED_OR_DEAD_DESPAWN = 1,             // despawns after a specified time OR when the creature disappears
        TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN = 2,             // despawns after a specified time OR when the creature dies
        TEMPSUMMON_TIMED_DESPAWN = 3,             // despawns after a specified time
        TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT = 4,             // despawns after a specified time after the creature is out of combat
        TEMPSUMMON_CORPSE_DESPAWN = 5,             // despawns instantly after death
        TEMPSUMMON_CORPSE_TIMED_DESPAWN = 6,             // despawns after a specified time after death
        TEMPSUMMON_DEAD_DESPAWN = 7,             // despawns when the creature disappears
        TEMPSUMMON_MANUAL_DESPAWN = 8              // despawns when UnSummon() is called
    };

}
 
